package com.lm.dataway;

import net.hasor.spring.boot.EnableHasor;
import net.hasor.spring.boot.EnableHasorWeb;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Dataway 是依托 DataQL 服务聚合能力，为应用提供一个 UI 界面。
 */
@EnableHasor()
@EnableHasorWeb()
@SpringBootApplication(scanBasePackages = { "com.lm.dataway" })
@MapperScan("com.lm.dataway.mapper")
public class DatawayApplication {
    public static void main(String[] args) {
        SpringApplication.run(DatawayApplication.class, args);
    }
}
